package com.njlime.sys.repository;

import com.njlime.sys.entities.RegularTask;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * Created by Dean on 2017-7-27.
 */
public interface RegularTaskDao extends JpaRepository<RegularTask, Integer>,JpaSpecificationExecutor<RegularTask> {
    RegularTask getByJobName(String jobName);
    List<RegularTask> getJobList();
}
